package cz.cvut.fit.mi.dpo.mvc.model;

/**
 * @author David Pertl
 * @author Martin Štekl <steklmar@fit.cvut.cz>
 */
public interface IWritable {

	public IWritable createCircle(int x, int y) throws ZeroSizeException;

	public IWritable createCircle(int x, int y, int r) throws ZeroSizeException;

	public IWritable updateCircle(int id, int x, int y, int r) throws ZeroSizeException;

	public IWritable createSquare(int x, int y) throws ZeroSizeException;

	public IWritable createSquare(int x, int y, int a) throws ZeroSizeException;

	public IWritable updateSquare(int id, int x, int y, int a) throws ZeroSizeException;

	public IWritable clear();

}
